/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.hr.cmi.android.aanwezigheidsregistratie;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

/**
 *
 * @author HP-laptop
 */
public class Invoermethode extends Activity {

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        setContentView(R.layout.invoermethode);

        // <editor-fold defaultstate="collapsed" desc="button handmatig">
        final Button handmatigbutton = (Button) findViewById(R.id.button_handmatig);
        handmatigbutton.setOnClickListener(new Button.OnClickListener() {

            public void onClick(View v) {
                Intent intent = new Intent(Constants.INTENT_ACTION_VIEW_HANDMATIGEINVOER);
                startActivity(intent);
            }
        });// </editor-fold>

        // <editor-fold defaultstate="collapsed" desc="button via google">
        final Button googlebutton = (Button) findViewById(R.id.button_google);
        googlebutton.setOnClickListener(new Button.OnClickListener() {

            public void onClick(View v) {
                Intent intent = new Intent(Constants.INTENT_ACTION_VIEW_GOOGLEINVOER);
                startActivity(intent);
            }
        });// </editor-fold>
    }
}
